home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
SWAPUNIT.ARJ
/
SWAPTEST.MAP
< prev
next >
Wrap
Text File
|
1992-01-20
|
1KB
|
34 lines
This is the map file generated by Turbo Pascal version 6.0 on SWAPTEST:
Start Stop Length Name Class
00000H 00263H 00264H SWAPTEST CODE
00270H 00ED5H 00C66H SWAPUNIT CODE
00EE0H 014F3H 00614H CRT CODE
01500H 0156DH 0006EH DOS CODE
01570H 02165H 00BF6H SYSTEM CODE
02170H 0251BH 003ACH DATA DATA
02520H 0451FH 02000H STACK STACK
04520H 04520H 00000H HEAP HEAP
Notice the order of the areas in the program block. The areas at the top of
the list appear earlier in the memory block. All sizes and offsets are in
hexadecimal.
The SWAPTEST area is the code of the main program, 581 bytes in this case
(a lot of which is the literal strings in the code). This is followed by
the SWAPUNIT code, which totals 3174 bytes. Approximately 2000 bytes of
this will remain in memory after the swap (in order to handle the swapping
back). This is followed by the other units and finally by the data, stack,
and heap. In this case, there is no minimum heap (length is 0), and since
the maximum heap was set to 0, no heap will be allocated at run-time.
Always check the map file of your final program in order to see what can
be swapped by SWAPUNIT.
Please see the documentation for usage details and information.
Thank you for your support, and I hope that you find this unit useful.